home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / TestParts / DragText / DragText.xh < prev    next >
Encoding:
Text File  |  1997-01-01  |  46.1 KB  |  1,626 lines  |  [TEXT/MPS ]

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: DragText.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emitxh.dll: 2.33
  8.  */
  9.  
  10. #ifndef SOM_Module_AppleTestDrag_defined
  11. #define SOM_Module_AppleTestDrag_defined 1
  12. #include <som.xh>
  13.  
  14. /*
  15.  * Start of user-defined types:
  16.  */
  17. class SOMClass;
  18. class SOMObject;
  19. class ODFrame;
  20. class ODFacet;
  21. class ODObject;
  22. class ODExtension;
  23. class ODRefCntObject;
  24. class ODPersistentObject;
  25. class ODStorageUnit;
  26. class ODPart;
  27. class ODCanvas;
  28. class ODDragItemIterator;
  29. class ODEmbeddedFramesIterator;
  30. class ODLink;
  31. class ODLinkSource;
  32. class ODObjectSpec;
  33. class ODShape;
  34. class ODStorageUnitView;
  35. class ODTypeList;
  36. class ODTransform;
  37. class ODSession;
  38. class ODFocusSet;
  39. class ODMenuBar;
  40. class AppleTestDrag_SemtIntf;
  41. class ODDraft;
  42. class ODWindow;
  43.  
  44. /*
  45.  * End of user-defined types.
  46.  */
  47. #endif /* SOM_Module_AppleTestDrag_defined */
  48.  
  49. #ifndef SOM_AppleTestDrag_DragText_xh
  50. #define SOM_AppleTestDrag_DragText_xh
  51.  
  52. class AppleTestDrag_DragText;
  53.  
  54. #define AppleTestDrag_DragText_MajorVersion 1
  55. #define AppleTestDrag_DragText_MinorVersion 0
  56.  
  57. /*
  58.  * Passthru lines: File: "C.xh", "before"
  59.  */
  60.  
  61. #ifndef __TYPES__
  62. #include <Types.h>
  63. #endif
  64.  
  65. #ifndef __TEXTEDIT__
  66. #include <TextEdit.h>
  67. #endif
  68.  
  69. class OrderedCollection;
  70. struct UndoInfo;
  71. struct Document;
  72.  
  73. /* C++ SOM defs */
  74. #include <somcls.xh>
  75. #include <somcm.xh>
  76.  
  77. /* C++ parent defs */
  78. #ifndef SOM_ODPart_xh
  79. #include <Part.xh>
  80. #endif
  81.  
  82. #ifndef AppleTestDrag_DragText_API
  83. #define AppleTestDrag_DragText_API
  84. /*
  85.  * -- The Class API
  86.  */
  87.  
  88. /*
  89.  * Start of user-defined types:
  90.  */
  91.  
  92. /*
  93.  * -- Share exact same alignment between 68k & PowerPC.
  94.  * -- User to add padding to idl as desired for better alignment.
  95.  */
  96. #if powerc
  97. #  pragma options align=mac68k
  98. #endif
  99. typedef
  100. struct AppleTestDrag_DragText_DestOfLink {
  101. ODLink* link;
  102. ODSShort start;
  103. ODSShort end;
  104. struct ODLinkInfo info;
  105. } AppleTestDrag_DragText_DestOfLink;
  106. #if powerc
  107. #  pragma options align=reset
  108. #endif
  109.  
  110. /*
  111.  * -- Share exact same alignment between 68k & PowerPC.
  112.  * -- User to add padding to idl as desired for better alignment.
  113.  */
  114. #if powerc
  115. #  pragma options align=mac68k
  116. #endif
  117. typedef
  118. struct AppleTestDrag_DragText_SrceOfLink {
  119. ODLinkSource* linkSource;
  120. ODSShort start;
  121. ODSShort end;
  122. ODUpdateID change;
  123. } AppleTestDrag_DragText_SrceOfLink;
  124. #if powerc
  125. #  pragma options align=reset
  126. #endif
  127. typedef
  128. ODUShort AppleTestDrag_DragText_LinkBorderStyle;
  129. #define AppleTestDrag_DragText_kLinkBorderOff 0 /* 0 */
  130. #define AppleTestDrag_DragText_kLinkBorderOn 1 /* 1 */
  131. #define AppleTestDrag_DragText_kLinkBorderSelected 2 /* 2 */
  132.  
  133. #ifndef SOM_DONT_USE_SHORT_NAMES
  134. #ifndef SOMTGD_DestOfLink
  135.     #ifdef DestOfLink
  136.         #undef DestOfLink
  137.         #define SOMTGD_DestOfLink 1
  138.     #else
  139.         #define DestOfLink AppleTestDrag_DragText_DestOfLink
  140.     #endif /* DestOfLink */
  141. #endif /* SOMTGD_DestOfLink */
  142. #ifndef SOMTGD_SrceOfLink
  143.     #ifdef SrceOfLink
  144.         #undef SrceOfLink
  145.         #define SOMTGD_SrceOfLink 1
  146.     #else
  147.         #define SrceOfLink AppleTestDrag_DragText_SrceOfLink
  148.     #endif /* SrceOfLink */
  149. #endif /* SOMTGD_SrceOfLink */
  150.  
  151. #ifndef SOM_DONT_USE_SHORT_NAMES
  152. #ifndef SOMTGD_LinkBorderStyle
  153.     #ifdef LinkBorderStyle
  154.         #undef LinkBorderStyle
  155.         #define SOMTGD_LinkBorderStyle 1
  156.     #else
  157.         #define LinkBorderStyle AppleTestDrag_DragText_LinkBorderStyle
  158.     #endif /* LinkBorderStyle */
  159. #endif /* SOMTGD_LinkBorderStyle */
  160. #endif /* SOM_DONT_USE_SHORT_NAMES */
  161. #ifndef SOMTGD_kLinkBorderOff
  162.     #ifdef kLinkBorderOff
  163.         #undef kLinkBorderOff
  164.         #define SOMTGD_kLinkBorderOff 1
  165.     #else
  166.         #define kLinkBorderOff AppleTestDrag_DragText_kLinkBorderOff
  167.     #endif /* kLinkBorderOff */
  168. #endif /* SOMTGD_kLinkBorderOff */
  169. #ifndef SOMTGD_kLinkBorderOn
  170.     #ifdef kLinkBorderOn
  171.         #undef kLinkBorderOn
  172.         #define SOMTGD_kLinkBorderOn 1
  173.     #else
  174.         #define kLinkBorderOn AppleTestDrag_DragText_kLinkBorderOn
  175.     #endif /* kLinkBorderOn */
  176. #endif /* SOMTGD_kLinkBorderOn */
  177. #ifndef SOMTGD_kLinkBorderSelected
  178.     #ifdef kLinkBorderSelected
  179.         #undef kLinkBorderSelected
  180.         #define SOMTGD_kLinkBorderSelected 1
  181.     #else
  182.         #define kLinkBorderSelected AppleTestDrag_DragText_kLinkBorderSelected
  183.     #endif /* kLinkBorderSelected */
  184. #endif /* SOMTGD_kLinkBorderSelected */
  185. #endif /* SOM_DONT_USE_SHORT_NAMES */
  186.  
  187. /*
  188.  * End of user-defined types.
  189.  */
  190.  
  191. #ifdef OLDIBMSOMAPISUPPORT
  192. #define AppleTestDrag_DragTextCClassData AppleTestDrag_DragTextClassData
  193. #define AppleTestDrag_DragTextNewClass(major,minor) somNewVersionedClassReference(AppleTestDrag_DragText,major,minor)
  194. #endif
  195.  
  196. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  197. #define AppleTestDrag_DragTextMetaClass SOMClass
  198.  
  199. #if PRAGMA_ALIGN_SUPPORTED
  200. #  pragma options align=power
  201. #endif
  202.  
  203. /* The API to the AppleTestDrag_DragText class object, and the methods it introduces. */
  204. SOMEXTERN struct AppleTestDrag_DragTextClassDataStructure {
  205. #ifdef OLDIBMSOMAPISUPPORT
  206.     SOMClass            *classObject;    /* always zero, use somNewClassReference instead */
  207. #else
  208.     long zero;
  209. #endif
  210.     somStaticClassInfo *sci;
  211.     somDToken        instanceDataToken;
  212.     long reserved [3];
  213.     somMToken CommonInitDragText;
  214.     somMToken ActivatingWindow;
  215.     somMToken DeactivatingWindow;
  216.     somMToken CreateWindow;
  217.     somMToken ExternalizeSelection;
  218.     somMToken HandleMouseDownInBorder;
  219.     somMToken HandleMouseDown;
  220.     somMToken HandleKeyDown;
  221.     somMToken HandleMenuEvent;
  222.     somMToken Idle;
  223.     somMToken ActivateFrame;
  224.     somMToken DeactivateFrame;
  225.     somMToken InvalAllFrames;
  226.     somMToken ExternalShapeToWindowShape;
  227.     somMToken AdjustFontMenu;
  228.     somMToken AdjustSizeMenu;
  229.     somMToken HandleFontMenu;
  230.     somMToken HandleSizeMenu;
  231.     somMToken InstallMenus;
  232.     somMToken RemoveMenus;
  233.     somMToken OutlineSizeMenu;
  234.     somMToken CreateDocument;
  235.     somMToken PositionDocumentParts;
  236.     somMToken AdjustScrollBar;
  237.     somMToken AdjustCursor;
  238.     somMToken DoDragText;
  239.     somMToken ClipThis;
  240.     somMToken ClipToRoot;
  241.     somMToken DoCommand;
  242.     somMToken DoCut;
  243.     somMToken DoCopy;
  244.     somMToken DoPaste;
  245.     somMToken DoPasteAs;
  246.     somMToken CanPasteLink;
  247.     somMToken DoPasteLink;
  248.     somMToken DoDropPaste;
  249.     somMToken DoDropPasteLink;
  250.     somMToken DoLinkInfo;
  251.     somMToken DoClear;
  252.     somMToken DoSelectAll;
  253.     somMToken DoSampleTwo;
  254.     somMToken DoSampleOne;
  255.     somMToken CommonDropProlog;
  256.     somMToken DropOneItem;
  257.     somMToken UndoRedoCut;
  258.     somMToken UndoRedoPaste;
  259.     somMToken UndoRedoPasteLink;
  260.     somMToken UndoRedoClear;
  261.     somMToken UndoRedoSampleOne;
  262.     somMToken UndoRedoSampleTwo;
  263.     somMToken UndoRedoTyping;
  264.     somMToken UndoRedoStyling;
  265.     somMToken PushUndoAction;
  266.     somMToken IncorporateTestDragContent;
  267.     somMToken IncorporateTextContent;
  268.     somMToken IncorporateStyledTextContent;
  269.     somMToken OpenWhitespace;
  270.     somMToken InsertWhitespace;
  271.     somMToken ExpandSelectionAroundLink;
  272.     somMToken SelectionInLinkSource;
  273.     somMToken SelectionInLinkDestination;
  274.     somMToken PtInDestinationLink;
  275.     somMToken AdjustDstLinks;
  276.     somMToken AdjustSrcLinks;
  277.     somMToken CheckDstLinkDeletion;
  278.     somMToken AbandonSourceLinks;
  279.     somMToken RemoveSrcLink;
  280.     somMToken RemoveDstLink;
  281.     somMToken RemoveLinkSpec;
  282.     somMToken LinkChanged;
  283.     somMToken IncorporateContentFromLink;
  284.     somMToken AdjustLinks;
  285.     somMToken AddLinkSpecToSU;
  286.     somMToken PasteLinkFromSU;
  287.     somMToken ShowLinkBorder;
  288.     somMToken ShowAboutBox;
  289.     somMToken UserCategoryString;
  290.     somMToken InstallObjectAccessors;
  291.     somMToken TranslateContentKind;
  292. } SOMDLINK AppleTestDrag_DragTextClassData;
  293.  
  294. #if PRAGMA_ALIGN_SUPPORTED
  295. #  pragma options align=reset
  296. #endif
  297.  
  298. #if !defined(AppleTestDrag_DragText_Class_Source) && !defined(SOM_Module_dragtext_Source)
  299. #if PRAGMA_IMPORT_SUPPORTED
  300. #pragma import list AppleTestDrag_DragTextClassData
  301. #endif
  302. #endif
  303.  
  304.  
  305. /*
  306.  * -- Typedefs and inline method declarations for left path inherited methods
  307.  * -- are omitted because this compilation had -museinheritedmethods in effect
  308.  */
  309.  
  310.  
  311. /*
  312.  * -- Typedefs for AppleTestDrag_DragText Method Procedures
  313.  */
  314. SOMEXTERN {
  315. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_CommonInitDragText)(AppleTestDrag_DragText *somSelf, Environment *ev,
  316.         ODStorageUnit* su);
  317. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_ActivatingWindow)(AppleTestDrag_DragText *somSelf, Environment *ev,
  318.         ODFrame* frame);
  319. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_DeactivatingWindow)(AppleTestDrag_DragText *somSelf, Environment *ev,
  320.         ODFrame* frame);
  321. typedef ODWindow*   (* SOMLINK somTD_AppleTestDrag_DragText_CreateWindow)(AppleTestDrag_DragText *somSelf, Environment *ev,
  322.         ODFrame* sourceFrame);
  323. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_ExternalizeSelection)(AppleTestDrag_DragText *somSelf, Environment *ev,
  324.         ODStorageUnit* su,
  325.         ODCloneKind cloneKind);
  326. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_HandleMouseDown)(AppleTestDrag_DragText *somSelf, Environment *ev,
  327.         ODFacet* facet,
  328.         ODPoint* where,
  329.         ODEventData* event);
  330. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_HandleMouseDownInBorder)(AppleTestDrag_DragText *somSelf, Environment *ev,
  331.         ODFacet* container,
  332.         ODFacet* facet,
  333.         ODPoint* where,
  334.         ODEventData* event);
  335. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_HandleKeyDown)(AppleTestDrag_DragText *somSelf, Environment *ev,
  336.         ODFrame* focusFrame,
  337.         ODEventData* event);
  338. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_HandleMenuEvent)(AppleTestDrag_DragText *somSelf, Environment *ev,
  339.         ODFrame* frame,
  340.         ODEventData* event);
  341. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_Idle)(AppleTestDrag_DragText *somSelf, Environment *ev,
  342.         ODFrame* frame);
  343. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_ActivateFrame)(AppleTestDrag_DragText *somSelf, Environment *ev,
  344.         ODFrame* frame);
  345. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_DeactivateFrame)(AppleTestDrag_DragText *somSelf, Environment *ev,
  346.         ODFrame* frame);
  347. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_InvalAllFrames)(AppleTestDrag_DragText *somSelf, Environment *ev);
  348. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_ExternalShapeToWindowShape)(AppleTestDrag_DragText *somSelf, Environment *ev,
  349.         ODFacet* facet,
  350.         ODShape* inShape,
  351.         ODShape* outShape);
  352. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_AdjustFontMenu)(AppleTestDrag_DragText *somSelf, Environment *ev);
  353. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_AdjustSizeMenu)(AppleTestDrag_DragText *somSelf, Environment *ev);
  354. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_HandleFontMenu)(AppleTestDrag_DragText *somSelf, Environment *ev,
  355.         ODUShort item);
  356. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_HandleSizeMenu)(AppleTestDrag_DragText *somSelf, Environment *ev,
  357.         ODUShort item);
  358. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_InstallMenus)(AppleTestDrag_DragText *somSelf, Environment *ev,
  359.         ODFrame* frame);
  360. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_RemoveMenus)(AppleTestDrag_DragText *somSelf, Environment *ev,
  361.         ODFrame* frame);
  362. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_OutlineSizeMenu)(AppleTestDrag_DragText *somSelf, Environment *ev,
  363.         ODSShort fontNum);
  364. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_CreateDocument)(AppleTestDrag_DragText *somSelf, Environment *ev,
  365.         ODFrame* frame);
  366. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_PositionDocumentParts)(AppleTestDrag_DragText *somSelf, Environment *ev);
  367. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_AdjustScrollBar)(AppleTestDrag_DragText *somSelf, Environment *ev);
  368. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_AdjustCursor)(AppleTestDrag_DragText *somSelf, Environment *ev,
  369.         ODPoint* where);
  370. typedef short   (* SOMLINK somTD_AppleTestDrag_DragText_DoDragText)(AppleTestDrag_DragText *somSelf, Environment *ev,
  371.         ODEventData* event);
  372. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_ClipThis)(AppleTestDrag_DragText *somSelf, Environment *ev,
  373.         ODFacet* facet);
  374. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_ClipToRoot)(AppleTestDrag_DragText *somSelf, Environment *ev,
  375.         ODFacet* facet);
  376. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_DoCommand)(AppleTestDrag_DragText *somSelf, Environment *ev,
  377.         ODFrame* frame,
  378.         ODCommandID command);
  379. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_DoCut)(AppleTestDrag_DragText *somSelf, Environment *ev,
  380.         ODFrame* frame);
  381. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_DoCopy)(AppleTestDrag_DragText *somSelf, Environment *ev,
  382.         ODFrame* frame);
  383. typedef ODStorageUnit*   (* SOMLINK somTD_AppleTestDrag_DragText_TranslateContentKind)(AppleTestDrag_DragText *somSelf, Environment *ev,
  384.         ODStorageUnit* contentSU,
  385.         ODType desiredKind,
  386.         ODType translateKind);
  387. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_DoPaste)(AppleTestDrag_DragText *somSelf, Environment *ev,
  388.         ODFrame* frame,
  389.         ODType desiredKind,
  390.         ODType translateKind);
  391. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_DoPasteAs)(AppleTestDrag_DragText *somSelf, Environment *ev,
  392.         ODFrame* frame);
  393. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_CanPasteLink)(AppleTestDrag_DragText *somSelf, Environment *ev,
  394.         ODStorageUnit* contentSU,
  395.         ODBoolean isMyContent,
  396.         ODSShort pasteStart,
  397.         ODSShort pasteEnd);
  398. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_DoPasteLink)(AppleTestDrag_DragText *somSelf, Environment *ev,
  399.         ODFrame* frame,
  400.         ODType desiredKind);
  401. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_DoDropPaste)(AppleTestDrag_DragText *somSelf, Environment *ev,
  402.         ODStorageUnit* dropSU,
  403.         ODCloneKind cloneKind,
  404.         ODType desiredKind,
  405.         ODFacet* facet,
  406.         ODPoint* where);
  407. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_DoDropPasteLink)(AppleTestDrag_DragText *somSelf, Environment *ev,
  408.         ODStorageUnit* dropSU,
  409.         ODType desiredKind,
  410.         ODFacet* facet,
  411.         ODPoint* where);
  412. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_DoLinkInfo)(AppleTestDrag_DragText *somSelf, Environment *ev,
  413.         ODFrame* frame);
  414. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_DoClear)(AppleTestDrag_DragText *somSelf, Environment *ev,
  415.         ODFrame* frame);
  416. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_DoSelectAll)(AppleTestDrag_DragText *somSelf, Environment *ev,
  417.         ODFrame* frame);
  418. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_DoSampleTwo)(AppleTestDrag_DragText *somSelf, Environment *ev,
  419.         ODFrame* frame);
  420. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_DoSampleOne)(AppleTestDrag_DragText *somSelf, Environment *ev,
  421.         ODFrame* frame);
  422. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_CommonDropProlog)(AppleTestDrag_DragText *somSelf, Environment *ev,
  423.         ODCloneKind cloneKind);
  424. typedef ODDropResult   (* SOMLINK somTD_AppleTestDrag_DragText_DropOneItem)(AppleTestDrag_DragText *somSelf, Environment *ev,
  425.         ODStorageUnit* dropSU,
  426.         ODFacet* facet,
  427.         ODPoint* where);
  428. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_UndoRedoCut)(AppleTestDrag_DragText *somSelf, Environment *ev,
  429.         UndoInfo* action,
  430.         ODUShort selector);
  431. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_UndoRedoPaste)(AppleTestDrag_DragText *somSelf, Environment *ev,
  432.         UndoInfo* action,
  433.         ODUShort selector);
  434. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_UndoRedoPasteLink)(AppleTestDrag_DragText *somSelf, Environment *ev,
  435.         UndoInfo* action,
  436.         ODUShort selector);
  437. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_UndoRedoClear)(AppleTestDrag_DragText *somSelf, Environment *ev,
  438.         UndoInfo* action,
  439.         ODUShort selector);
  440. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_UndoRedoSampleOne)(AppleTestDrag_DragText *somSelf, Environment *ev,
  441.         UndoInfo* action,
  442.         ODUShort selector);
  443. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_UndoRedoSampleTwo)(AppleTestDrag_DragText *somSelf, Environment *ev,
  444.         UndoInfo* action,
  445.         ODUShort selector);
  446. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_UndoRedoTyping)(AppleTestDrag_DragText *somSelf, Environment *ev,
  447.         UndoInfo* action,
  448.         ODUShort selector);
  449. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_UndoRedoStyling)(AppleTestDrag_DragText *somSelf, Environment *ev,
  450.         UndoInfo* action,
  451.         ODUShort selector);
  452. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_PushUndoAction)(AppleTestDrag_DragText *somSelf, Environment *ev,
  453.         ODFrame* frame,
  454.         ODCommandID command,
  455.         ODULong start,
  456.         ODULong end,
  457.         ODPtr text,
  458.         ODHandle style,
  459.         StringPtr undoText,
  460.         StringPtr redoText);
  461. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_IncorporateTestDragContent)(AppleTestDrag_DragText *somSelf, Environment *ev,
  462.         ODStorageUnit* su,
  463.         ODUpdateID change,
  464.         ODCloneKind cloneKind);
  465. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_IncorporateStyledTextContent)(AppleTestDrag_DragText *somSelf, Environment *ev,
  466.         ODStorageUnit* su,
  467.         ODUpdateID change);
  468. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_IncorporateTextContent)(AppleTestDrag_DragText *somSelf, Environment *ev,
  469.         ODStorageUnit* su,
  470.         ODUpdateID change);
  471. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_OpenWhitespace)(AppleTestDrag_DragText *somSelf, Environment *ev,
  472.         ODStorageUnit* su,
  473.         ODValueType kind);
  474. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_InsertWhitespace)(AppleTestDrag_DragText *somSelf, Environment *ev,
  475.         char firstChar,
  476.         char lastChar);
  477. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_ExpandSelectionAroundLink)(AppleTestDrag_DragText *somSelf, Environment *ev);
  478. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_SelectionInLinkSource)(AppleTestDrag_DragText *somSelf, Environment *ev);
  479. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_SelectionInLinkDestination)(AppleTestDrag_DragText *somSelf, Environment *ev);
  480. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_PtInDestinationLink)(AppleTestDrag_DragText *somSelf, Environment *ev,
  481.         Point* thePoint);
  482. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_AdjustDstLinks)(AppleTestDrag_DragText *somSelf, Environment *ev,
  483.         ODSShort start,
  484.         ODSShort endOld,
  485.         ODSShort endNew,
  486.         ODUpdateID change);
  487. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_AdjustSrcLinks)(AppleTestDrag_DragText *somSelf, Environment *ev,
  488.         ODSShort start,
  489.         ODSShort endOld,
  490.         ODSShort endNew,
  491.         ODUpdateID change);
  492. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_CheckDstLinkDeletion)(AppleTestDrag_DragText *somSelf, Environment *ev,
  493.         ODSShort start,
  494.         ODSShort endOld,
  495.         ODUpdateID change);
  496. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_AbandonSourceLinks)(AppleTestDrag_DragText *somSelf, Environment *ev,
  497.         ODSShort start,
  498.         ODSShort end);
  499. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_RemoveSrcLink)(AppleTestDrag_DragText *somSelf, Environment *ev);
  500. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_RemoveDstLink)(AppleTestDrag_DragText *somSelf, Environment *ev);
  501. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_RemoveLinkSpec)(AppleTestDrag_DragText *somSelf, Environment *ev);
  502. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_LinkChanged)(AppleTestDrag_DragText *somSelf, Environment *ev,
  503.         AppleTestDrag_DragText_SrceOfLink* srcLink,
  504.         ODUpdateID changeID);
  505. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_IncorporateContentFromLink)(AppleTestDrag_DragText *somSelf, Environment *ev);
  506. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_AdjustLinks)(AppleTestDrag_DragText *somSelf, Environment *ev,
  507.         ODSShort start,
  508.         ODSShort endOld,
  509.         ODSShort endNew,
  510.         ODUpdateID changeID);
  511. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_AddLinkSpecToSU)(AppleTestDrag_DragText *somSelf, Environment *ev,
  512.         ODStorageUnit* su);
  513. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_PasteLinkFromSU)(AppleTestDrag_DragText *somSelf, Environment *ev,
  514.         ODFrame* frame,
  515.         ODType desiredKind,
  516.         ODStorageUnit* su);
  517. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_ShowLinkBorder)(AppleTestDrag_DragText *somSelf, Environment *ev,
  518.         ODFrame* frame,
  519.         AppleTestDrag_DragText_LinkBorderStyle borderStyle);
  520. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_ShowAboutBox)(AppleTestDrag_DragText *somSelf, Environment *ev,
  521.         ODFrame* frame);
  522. typedef ODBoolean   (* SOMLINK somTD_AppleTestDrag_DragText_UserCategoryString)(AppleTestDrag_DragText *somSelf, Environment *ev,
  523.         ODName* name);
  524. typedef void   (* SOMLINK somTD_AppleTestDrag_DragText_InstallObjectAccessors)(AppleTestDrag_DragText *somSelf, Environment *ev);
  525. }
  526.  
  527. #endif /* AppleTestDrag_DragText_API */
  528.  
  529.  
  530. /*
  531.  * -- This emitter treats Method Tokens as Thunks by default.
  532.  * -- Use the sc modifier "nothunks" to change this default
  533.  */
  534. #undef somresolve_
  535. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  536.  
  537. /*
  538.  * -- The C++ Wrapper Class for AppleTestDrag_DragText
  539.  */
  540. class AppleTestDrag_DragText : public ODPart
  541. {
  542. public:
  543.  
  544. // AppleTestDrag_DragText::new registers use of the class object, and then uses somNew
  545. // to allocate memory and load the object method table pointer. 
  546. void *operator new(size_t size)
  547. {
  548.     SOM_IgnoreWarning(size);
  549.     // Allocate memory using the default allocator for AppleTestDrag_DragText, and
  550.     // clear mem & set method table pointer, call basic initialization
  551. #ifdef SOMCHKNULL
  552.     void * __somResult = (void *)
  553.       somNewObject(AppleTestDrag_DragText);
  554.     SOMCHKNULL(__somResult);
  555.     return __somResult;
  556. #else
  557.     return (void*) somNewObject(AppleTestDrag_DragText);
  558. #endif
  559. }
  560.  
  561. // AppleTestDrag_DragText::delete uses the default deallocator for the object's class.
  562. void operator delete(void * obj)
  563. {
  564.     if (obj) {
  565.         SOM_Resolve(obj,SOMObject,somFree)
  566.            ( (SOMObject*) obj );
  567.     }
  568. }
  569.  
  570. /* method: CommonInitDragText */
  571. void   CommonInitDragText(Environment *ev,
  572.         ODStorageUnit* su)
  573. {
  574.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,CommonInitDragText)
  575.     (this,ev,su);
  576. #ifdef SOMCHKEXCEPT
  577.       SOMCHKEXCEPT;
  578. #endif
  579. }
  580.  
  581. /* method: ActivatingWindow */
  582. void   ActivatingWindow(Environment *ev,
  583.         ODFrame* frame)
  584. {
  585.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ActivatingWindow)
  586.     (this,ev,frame);
  587. #ifdef SOMCHKEXCEPT
  588.       SOMCHKEXCEPT;
  589. #endif
  590. }
  591.  
  592. /* method: DeactivatingWindow */
  593. void   DeactivatingWindow(Environment *ev,
  594.         ODFrame* frame)
  595. {
  596.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DeactivatingWindow)
  597.     (this,ev,frame);
  598. #ifdef SOMCHKEXCEPT
  599.       SOMCHKEXCEPT;
  600. #endif
  601. }
  602.  
  603. /* method: CreateWindow */
  604. ODWindow*   CreateWindow(Environment *ev,
  605.         ODFrame* sourceFrame)
  606. {
  607.    #ifdef SOMCHKEXCEPT
  608.    ODWindow* __somResult = 
  609.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,CreateWindow)
  610.     (this,ev,sourceFrame);
  611.       SOMCHKEXCEPT;
  612.    return __somResult;
  613. #else
  614.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,CreateWindow)
  615.     (this,ev,sourceFrame);
  616. #endif
  617. }
  618.  
  619. /* method: ExternalizeSelection */
  620. void   ExternalizeSelection(Environment *ev,
  621.         ODStorageUnit* su,
  622.         ODCloneKind cloneKind)
  623. {
  624.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ExternalizeSelection)
  625.     (this,ev,su,cloneKind);
  626. #ifdef SOMCHKEXCEPT
  627.       SOMCHKEXCEPT;
  628. #endif
  629. }
  630.  
  631. /* method: HandleMouseDown */
  632. ODBoolean   HandleMouseDown(Environment *ev,
  633.         ODFacet* facet,
  634.         ODPoint* where,
  635.         ODEventData* event)
  636. {
  637.    #ifdef SOMCHKEXCEPT
  638.    ODBoolean __somResult = 
  639.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleMouseDown)
  640.     (this,ev,facet,where,event);
  641.       SOMCHKEXCEPT;
  642.    return __somResult;
  643. #else
  644.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleMouseDown)
  645.     (this,ev,facet,where,event);
  646. #endif
  647. }
  648.  
  649. /* method: HandleMouseDownInBorder */
  650. ODBoolean   HandleMouseDownInBorder(Environment *ev,
  651.         ODFacet* container,
  652.         ODFacet* facet,
  653.         ODPoint* where,
  654.         ODEventData* event)
  655. {
  656.    #ifdef SOMCHKEXCEPT
  657.    ODBoolean __somResult = 
  658.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleMouseDownInBorder)
  659.     (this,ev,container,facet,where,event);
  660.       SOMCHKEXCEPT;
  661.    return __somResult;
  662. #else
  663.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleMouseDownInBorder)
  664.     (this,ev,container,facet,where,event);
  665. #endif
  666. }
  667.  
  668. /* method: HandleKeyDown */
  669. ODBoolean   HandleKeyDown(Environment *ev,
  670.         ODFrame* focusFrame,
  671.         ODEventData* event)
  672. {
  673.    #ifdef SOMCHKEXCEPT
  674.    ODBoolean __somResult = 
  675.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleKeyDown)
  676.     (this,ev,focusFrame,event);
  677.       SOMCHKEXCEPT;
  678.    return __somResult;
  679. #else
  680.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleKeyDown)
  681.     (this,ev,focusFrame,event);
  682. #endif
  683. }
  684.  
  685. /* method: HandleMenuEvent */
  686. ODBoolean   HandleMenuEvent(Environment *ev,
  687.         ODFrame* frame,
  688.         ODEventData* event)
  689. {
  690.    #ifdef SOMCHKEXCEPT
  691.    ODBoolean __somResult = 
  692.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleMenuEvent)
  693.     (this,ev,frame,event);
  694.       SOMCHKEXCEPT;
  695.    return __somResult;
  696. #else
  697.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleMenuEvent)
  698.     (this,ev,frame,event);
  699. #endif
  700. }
  701.  
  702. /* method: Idle */
  703. void   Idle(Environment *ev,
  704.         ODFrame* frame)
  705. {
  706.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,Idle)
  707.     (this,ev,frame);
  708. #ifdef SOMCHKEXCEPT
  709.       SOMCHKEXCEPT;
  710. #endif
  711. }
  712.  
  713. /* method: ActivateFrame */
  714. ODBoolean   ActivateFrame(Environment *ev,
  715.         ODFrame* frame)
  716. {
  717.    #ifdef SOMCHKEXCEPT
  718.    ODBoolean __somResult = 
  719.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ActivateFrame)
  720.     (this,ev,frame);
  721.       SOMCHKEXCEPT;
  722.    return __somResult;
  723. #else
  724.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ActivateFrame)
  725.     (this,ev,frame);
  726. #endif
  727. }
  728.  
  729. /* method: DeactivateFrame */
  730. void   DeactivateFrame(Environment *ev,
  731.         ODFrame* frame)
  732. {
  733.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DeactivateFrame)
  734.     (this,ev,frame);
  735. #ifdef SOMCHKEXCEPT
  736.       SOMCHKEXCEPT;
  737. #endif
  738. }
  739.  
  740. /* method: InvalAllFrames */
  741. void   InvalAllFrames(Environment *ev)
  742. {
  743.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,InvalAllFrames)
  744.     (this,ev);
  745. #ifdef SOMCHKEXCEPT
  746.       SOMCHKEXCEPT;
  747. #endif
  748. }
  749.  
  750. /* method: ExternalShapeToWindowShape */
  751. void   ExternalShapeToWindowShape(Environment *ev,
  752.         ODFacet* facet,
  753.         ODShape* inShape,
  754.         ODShape* outShape)
  755. {
  756.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ExternalShapeToWindowShape)
  757.     (this,ev,facet,inShape,outShape);
  758. #ifdef SOMCHKEXCEPT
  759.       SOMCHKEXCEPT;
  760. #endif
  761. }
  762.  
  763. /* method: AdjustFontMenu */
  764. void   AdjustFontMenu(Environment *ev)
  765. {
  766.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AdjustFontMenu)
  767.     (this,ev);
  768. #ifdef SOMCHKEXCEPT
  769.       SOMCHKEXCEPT;
  770. #endif
  771. }
  772.  
  773. /* method: AdjustSizeMenu */
  774. void   AdjustSizeMenu(Environment *ev)
  775. {
  776.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AdjustSizeMenu)
  777.     (this,ev);
  778. #ifdef SOMCHKEXCEPT
  779.       SOMCHKEXCEPT;
  780. #endif
  781. }
  782.  
  783. /* method: HandleFontMenu */
  784. void   HandleFontMenu(Environment *ev,
  785.         ODUShort item)
  786. {
  787.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleFontMenu)
  788.     (this,ev,item);
  789. #ifdef SOMCHKEXCEPT
  790.       SOMCHKEXCEPT;
  791. #endif
  792. }
  793.  
  794. /* method: HandleSizeMenu */
  795. void   HandleSizeMenu(Environment *ev,
  796.         ODUShort item)
  797. {
  798.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,HandleSizeMenu)
  799.     (this,ev,item);
  800. #ifdef SOMCHKEXCEPT
  801.       SOMCHKEXCEPT;
  802. #endif
  803. }
  804.  
  805. /* method: InstallMenus */
  806. void   InstallMenus(Environment *ev,
  807.         ODFrame* frame)
  808. {
  809.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,InstallMenus)
  810.     (this,ev,frame);
  811. #ifdef SOMCHKEXCEPT
  812.       SOMCHKEXCEPT;
  813. #endif
  814. }
  815.  
  816. /* method: RemoveMenus */
  817. void   RemoveMenus(Environment *ev,
  818.         ODFrame* frame)
  819. {
  820.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,RemoveMenus)
  821.     (this,ev,frame);
  822. #ifdef SOMCHKEXCEPT
  823.       SOMCHKEXCEPT;
  824. #endif
  825. }
  826.  
  827. /* method: OutlineSizeMenu */
  828. void   OutlineSizeMenu(Environment *ev,
  829.         ODSShort fontNum)
  830. {
  831.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,OutlineSizeMenu)
  832.     (this,ev,fontNum);
  833. #ifdef SOMCHKEXCEPT
  834.       SOMCHKEXCEPT;
  835. #endif
  836. }
  837.  
  838. /* method: CreateDocument */
  839. void   CreateDocument(Environment *ev,
  840.         ODFrame* frame)
  841. {
  842.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,CreateDocument)
  843.     (this,ev,frame);
  844. #ifdef SOMCHKEXCEPT
  845.       SOMCHKEXCEPT;
  846. #endif
  847. }
  848.  
  849. /* method: PositionDocumentParts */
  850. void   PositionDocumentParts(Environment *ev)
  851. {
  852.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,PositionDocumentParts)
  853.     (this,ev);
  854. #ifdef SOMCHKEXCEPT
  855.       SOMCHKEXCEPT;
  856. #endif
  857. }
  858.  
  859. /* method: AdjustScrollBar */
  860. void   AdjustScrollBar(Environment *ev)
  861. {
  862.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AdjustScrollBar)
  863.     (this,ev);
  864. #ifdef SOMCHKEXCEPT
  865.       SOMCHKEXCEPT;
  866. #endif
  867. }
  868.  
  869. /* method: AdjustCursor */
  870. void   AdjustCursor(Environment *ev,
  871.         ODPoint* where)
  872. {
  873.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AdjustCursor)
  874.     (this,ev,where);
  875. #ifdef SOMCHKEXCEPT
  876.       SOMCHKEXCEPT;
  877. #endif
  878. }
  879.  
  880. /* method: DoDragText */
  881. short   DoDragText(Environment *ev,
  882.         ODEventData* event)
  883. {
  884.    #ifdef SOMCHKEXCEPT
  885.    short __somResult = 
  886.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoDragText)
  887.     (this,ev,event);
  888.       SOMCHKEXCEPT;
  889.    return __somResult;
  890. #else
  891.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoDragText)
  892.     (this,ev,event);
  893. #endif
  894. }
  895.  
  896. /* method: ClipThis */
  897. void   ClipThis(Environment *ev,
  898.         ODFacet* facet)
  899. {
  900.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ClipThis)
  901.     (this,ev,facet);
  902. #ifdef SOMCHKEXCEPT
  903.       SOMCHKEXCEPT;
  904. #endif
  905. }
  906.  
  907. /* method: ClipToRoot */
  908. void   ClipToRoot(Environment *ev,
  909.         ODFacet* facet)
  910. {
  911.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ClipToRoot)
  912.     (this,ev,facet);
  913. #ifdef SOMCHKEXCEPT
  914.       SOMCHKEXCEPT;
  915. #endif
  916. }
  917.  
  918. /* method: DoCommand */
  919. ODBoolean   DoCommand(Environment *ev,
  920.         ODFrame* frame,
  921.         ODCommandID command)
  922. {
  923.    #ifdef SOMCHKEXCEPT
  924.    ODBoolean __somResult = 
  925.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoCommand)
  926.     (this,ev,frame,command);
  927.       SOMCHKEXCEPT;
  928.    return __somResult;
  929. #else
  930.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoCommand)
  931.     (this,ev,frame,command);
  932. #endif
  933. }
  934.  
  935. /* method: DoCut */
  936. ODBoolean   DoCut(Environment *ev,
  937.         ODFrame* frame)
  938. {
  939.    #ifdef SOMCHKEXCEPT
  940.    ODBoolean __somResult = 
  941.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoCut)
  942.     (this,ev,frame);
  943.       SOMCHKEXCEPT;
  944.    return __somResult;
  945. #else
  946.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoCut)
  947.     (this,ev,frame);
  948. #endif
  949. }
  950.  
  951. /* method: DoCopy */
  952. ODBoolean   DoCopy(Environment *ev,
  953.         ODFrame* frame)
  954. {
  955.    #ifdef SOMCHKEXCEPT
  956.    ODBoolean __somResult = 
  957.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoCopy)
  958.     (this,ev,frame);
  959.       SOMCHKEXCEPT;
  960.    return __somResult;
  961. #else
  962.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoCopy)
  963.     (this,ev,frame);
  964. #endif
  965. }
  966.  
  967. /* method: TranslateContentKind */
  968. ODStorageUnit*   TranslateContentKind(Environment *ev,
  969.         ODStorageUnit* contentSU,
  970.         ODType desiredKind,
  971.         ODType translateKind)
  972. {
  973.    #ifdef SOMCHKEXCEPT
  974.    ODStorageUnit* __somResult = 
  975.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,TranslateContentKind)
  976.     (this,ev,contentSU,desiredKind,translateKind);
  977.       SOMCHKEXCEPT;
  978.    return __somResult;
  979. #else
  980.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,TranslateContentKind)
  981.     (this,ev,contentSU,desiredKind,translateKind);
  982. #endif
  983. }
  984.  
  985. /* method: DoPaste */
  986. ODBoolean   DoPaste(Environment *ev,
  987.         ODFrame* frame,
  988.         ODType desiredKind,
  989.         ODType translateKind)
  990. {
  991.    #ifdef SOMCHKEXCEPT
  992.    ODBoolean __somResult = 
  993.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoPaste)
  994.     (this,ev,frame,desiredKind,translateKind);
  995.       SOMCHKEXCEPT;
  996.    return __somResult;
  997. #else
  998.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoPaste)
  999.     (this,ev,frame,desiredKind,translateKind);
  1000. #endif
  1001. }
  1002.  
  1003. /* method: DoPasteAs */
  1004. ODBoolean   DoPasteAs(Environment *ev,
  1005.         ODFrame* frame)
  1006. {
  1007.    #ifdef SOMCHKEXCEPT
  1008.    ODBoolean __somResult = 
  1009.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoPasteAs)
  1010.     (this,ev,frame);
  1011.       SOMCHKEXCEPT;
  1012.    return __somResult;
  1013. #else
  1014.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoPasteAs)
  1015.     (this,ev,frame);
  1016. #endif
  1017. }
  1018.  
  1019. /* method: CanPasteLink */
  1020. ODBoolean   CanPasteLink(Environment *ev,
  1021.         ODStorageUnit* contentSU,
  1022.         ODBoolean isMyContent,
  1023.         ODSShort pasteStart,
  1024.         ODSShort pasteEnd)
  1025. {
  1026.    #ifdef SOMCHKEXCEPT
  1027.    ODBoolean __somResult = 
  1028.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,CanPasteLink)
  1029.     (this,ev,contentSU,isMyContent,pasteStart,pasteEnd);
  1030.       SOMCHKEXCEPT;
  1031.    return __somResult;
  1032. #else
  1033.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,CanPasteLink)
  1034.     (this,ev,contentSU,isMyContent,pasteStart,pasteEnd);
  1035. #endif
  1036. }
  1037.  
  1038. /* method: DoPasteLink */
  1039. ODBoolean   DoPasteLink(Environment *ev,
  1040.         ODFrame* frame,
  1041.         ODType desiredKind)
  1042. {
  1043.    #ifdef SOMCHKEXCEPT
  1044.    ODBoolean __somResult = 
  1045.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoPasteLink)
  1046.     (this,ev,frame,desiredKind);
  1047.       SOMCHKEXCEPT;
  1048.    return __somResult;
  1049. #else
  1050.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoPasteLink)
  1051.     (this,ev,frame,desiredKind);
  1052. #endif
  1053. }
  1054.  
  1055. /* method: DoDropPaste */
  1056. void   DoDropPaste(Environment *ev,
  1057.         ODStorageUnit* dropSU,
  1058.         ODCloneKind cloneKind,
  1059.         ODType desiredKind,
  1060.         ODFacet* facet,
  1061.         ODPoint* where)
  1062. {
  1063.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoDropPaste)
  1064.     (this,ev,dropSU,cloneKind,desiredKind,facet,where);
  1065. #ifdef SOMCHKEXCEPT
  1066.       SOMCHKEXCEPT;
  1067. #endif
  1068. }
  1069.  
  1070. /* method: DoDropPasteLink */
  1071. void   DoDropPasteLink(Environment *ev,
  1072.         ODStorageUnit* dropSU,
  1073.         ODType desiredKind,
  1074.         ODFacet* facet,
  1075.         ODPoint* where)
  1076. {
  1077.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoDropPasteLink)
  1078.     (this,ev,dropSU,desiredKind,facet,where);
  1079. #ifdef SOMCHKEXCEPT
  1080.       SOMCHKEXCEPT;
  1081. #endif
  1082. }
  1083.  
  1084. /* method: DoLinkInfo */
  1085. ODBoolean   DoLinkInfo(Environment *ev,
  1086.         ODFrame* frame)
  1087. {
  1088.    #ifdef SOMCHKEXCEPT
  1089.    ODBoolean __somResult = 
  1090.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoLinkInfo)
  1091.     (this,ev,frame);
  1092.       SOMCHKEXCEPT;
  1093.    return __somResult;
  1094. #else
  1095.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoLinkInfo)
  1096.     (this,ev,frame);
  1097. #endif
  1098. }
  1099.  
  1100. /* method: DoClear */
  1101. ODBoolean   DoClear(Environment *ev,
  1102.         ODFrame* frame)
  1103. {
  1104.    #ifdef SOMCHKEXCEPT
  1105.    ODBoolean __somResult = 
  1106.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoClear)
  1107.     (this,ev,frame);
  1108.       SOMCHKEXCEPT;
  1109.    return __somResult;
  1110. #else
  1111.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoClear)
  1112.     (this,ev,frame);
  1113. #endif
  1114. }
  1115.  
  1116. /* method: DoSelectAll */
  1117. ODBoolean   DoSelectAll(Environment *ev,
  1118.         ODFrame* frame)
  1119. {
  1120.    #ifdef SOMCHKEXCEPT
  1121.    ODBoolean __somResult = 
  1122.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoSelectAll)
  1123.     (this,ev,frame);
  1124.       SOMCHKEXCEPT;
  1125.    return __somResult;
  1126. #else
  1127.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoSelectAll)
  1128.     (this,ev,frame);
  1129. #endif
  1130. }
  1131.  
  1132. /* method: DoSampleTwo */
  1133. ODBoolean   DoSampleTwo(Environment *ev,
  1134.         ODFrame* frame)
  1135. {
  1136.    #ifdef SOMCHKEXCEPT
  1137.    ODBoolean __somResult = 
  1138.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoSampleTwo)
  1139.     (this,ev,frame);
  1140.       SOMCHKEXCEPT;
  1141.    return __somResult;
  1142. #else
  1143.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoSampleTwo)
  1144.     (this,ev,frame);
  1145. #endif
  1146. }
  1147.  
  1148. /* method: DoSampleOne */
  1149. ODBoolean   DoSampleOne(Environment *ev,
  1150.         ODFrame* frame)
  1151. {
  1152.    #ifdef SOMCHKEXCEPT
  1153.    ODBoolean __somResult = 
  1154.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoSampleOne)
  1155.     (this,ev,frame);
  1156.       SOMCHKEXCEPT;
  1157.    return __somResult;
  1158. #else
  1159.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DoSampleOne)
  1160.     (this,ev,frame);
  1161. #endif
  1162. }
  1163.  
  1164. /* method: CommonDropProlog */
  1165. void   CommonDropProlog(Environment *ev,
  1166.         ODCloneKind cloneKind)
  1167. {
  1168.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,CommonDropProlog)
  1169.     (this,ev,cloneKind);
  1170. #ifdef SOMCHKEXCEPT
  1171.       SOMCHKEXCEPT;
  1172. #endif
  1173. }
  1174.  
  1175. /* method: DropOneItem */
  1176. ODDropResult   DropOneItem(Environment *ev,
  1177.         ODStorageUnit* dropSU,
  1178.         ODFacet* facet,
  1179.         ODPoint* where)
  1180. {
  1181.    #ifdef SOMCHKEXCEPT
  1182.    ODDropResult __somResult = 
  1183.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DropOneItem)
  1184.     (this,ev,dropSU,facet,where);
  1185.       SOMCHKEXCEPT;
  1186.    return __somResult;
  1187. #else
  1188.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,DropOneItem)
  1189.     (this,ev,dropSU,facet,where);
  1190. #endif
  1191. }
  1192.  
  1193. /* method: UndoRedoCut */
  1194. void   UndoRedoCut(Environment *ev,
  1195.         UndoInfo* action,
  1196.         ODUShort selector)
  1197. {
  1198.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UndoRedoCut)
  1199.     (this,ev,action,selector);
  1200. #ifdef SOMCHKEXCEPT
  1201.       SOMCHKEXCEPT;
  1202. #endif
  1203. }
  1204.  
  1205. /* method: UndoRedoPaste */
  1206. void   UndoRedoPaste(Environment *ev,
  1207.         UndoInfo* action,
  1208.         ODUShort selector)
  1209. {
  1210.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UndoRedoPaste)
  1211.     (this,ev,action,selector);
  1212. #ifdef SOMCHKEXCEPT
  1213.       SOMCHKEXCEPT;
  1214. #endif
  1215. }
  1216.  
  1217. /* method: UndoRedoPasteLink */
  1218. void   UndoRedoPasteLink(Environment *ev,
  1219.         UndoInfo* action,
  1220.         ODUShort selector)
  1221. {
  1222.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UndoRedoPasteLink)
  1223.     (this,ev,action,selector);
  1224. #ifdef SOMCHKEXCEPT
  1225.       SOMCHKEXCEPT;
  1226. #endif
  1227. }
  1228.  
  1229. /* method: UndoRedoClear */
  1230. void   UndoRedoClear(Environment *ev,
  1231.         UndoInfo* action,
  1232.         ODUShort selector)
  1233. {
  1234.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UndoRedoClear)
  1235.     (this,ev,action,selector);
  1236. #ifdef SOMCHKEXCEPT
  1237.       SOMCHKEXCEPT;
  1238. #endif
  1239. }
  1240.  
  1241. /* method: UndoRedoSampleOne */
  1242. void   UndoRedoSampleOne(Environment *ev,
  1243.         UndoInfo* action,
  1244.         ODUShort selector)
  1245. {
  1246.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UndoRedoSampleOne)
  1247.     (this,ev,action,selector);
  1248. #ifdef SOMCHKEXCEPT
  1249.       SOMCHKEXCEPT;
  1250. #endif
  1251. }
  1252.  
  1253. /* method: UndoRedoSampleTwo */
  1254. void   UndoRedoSampleTwo(Environment *ev,
  1255.         UndoInfo* action,
  1256.         ODUShort selector)
  1257. {
  1258.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UndoRedoSampleTwo)
  1259.     (this,ev,action,selector);
  1260. #ifdef SOMCHKEXCEPT
  1261.       SOMCHKEXCEPT;
  1262. #endif
  1263. }
  1264.  
  1265. /* method: UndoRedoTyping */
  1266. void   UndoRedoTyping(Environment *ev,
  1267.         UndoInfo* action,
  1268.         ODUShort selector)
  1269. {
  1270.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UndoRedoTyping)
  1271.     (this,ev,action,selector);
  1272. #ifdef SOMCHKEXCEPT
  1273.       SOMCHKEXCEPT;
  1274. #endif
  1275. }
  1276.  
  1277. /* method: UndoRedoStyling */
  1278. void   UndoRedoStyling(Environment *ev,
  1279.         UndoInfo* action,
  1280.         ODUShort selector)
  1281. {
  1282.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UndoRedoStyling)
  1283.     (this,ev,action,selector);
  1284. #ifdef SOMCHKEXCEPT
  1285.       SOMCHKEXCEPT;
  1286. #endif
  1287. }
  1288.  
  1289. /* method: PushUndoAction */
  1290. void   PushUndoAction(Environment *ev,
  1291.         ODFrame* frame,
  1292.         ODCommandID command,
  1293.         ODULong start,
  1294.         ODULong end,
  1295.         ODPtr text,
  1296.         ODHandle style,
  1297.         StringPtr undoText,
  1298.         StringPtr redoText)
  1299. {
  1300.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,PushUndoAction)
  1301.     (this,ev,frame,command,start,end,text,style,undoText,redoText);
  1302. #ifdef SOMCHKEXCEPT
  1303.       SOMCHKEXCEPT;
  1304. #endif
  1305. }
  1306.  
  1307. /* method: IncorporateTestDragContent */
  1308. void   IncorporateTestDragContent(Environment *ev,
  1309.         ODStorageUnit* su,
  1310.         ODUpdateID change,
  1311.         ODCloneKind cloneKind)
  1312. {
  1313.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,IncorporateTestDragContent)
  1314.     (this,ev,su,change,cloneKind);
  1315. #ifdef SOMCHKEXCEPT
  1316.       SOMCHKEXCEPT;
  1317. #endif
  1318. }
  1319.  
  1320. /* method: IncorporateStyledTextContent */
  1321. void   IncorporateStyledTextContent(Environment *ev,
  1322.         ODStorageUnit* su,
  1323.         ODUpdateID change)
  1324. {
  1325.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,IncorporateStyledTextContent)
  1326.     (this,ev,su,change);
  1327. #ifdef SOMCHKEXCEPT
  1328.       SOMCHKEXCEPT;
  1329. #endif
  1330. }
  1331.  
  1332. /* method: IncorporateTextContent */
  1333. void   IncorporateTextContent(Environment *ev,
  1334.         ODStorageUnit* su,
  1335.         ODUpdateID change)
  1336. {
  1337.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,IncorporateTextContent)
  1338.     (this,ev,su,change);
  1339. #ifdef SOMCHKEXCEPT
  1340.       SOMCHKEXCEPT;
  1341. #endif
  1342. }
  1343.  
  1344. /* method: OpenWhitespace */
  1345. void   OpenWhitespace(Environment *ev,
  1346.         ODStorageUnit* su,
  1347.         ODValueType kind)
  1348. {
  1349.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,OpenWhitespace)
  1350.     (this,ev,su,kind);
  1351. #ifdef SOMCHKEXCEPT
  1352.       SOMCHKEXCEPT;
  1353. #endif
  1354. }
  1355.  
  1356. /* method: InsertWhitespace */
  1357. void   InsertWhitespace(Environment *ev,
  1358.         char firstChar,
  1359.         char lastChar)
  1360. {
  1361.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,InsertWhitespace)
  1362.     (this,ev,firstChar,lastChar);
  1363. #ifdef SOMCHKEXCEPT
  1364.       SOMCHKEXCEPT;
  1365. #endif
  1366. }
  1367.  
  1368. /* method: ExpandSelectionAroundLink */
  1369. void   ExpandSelectionAroundLink(Environment *ev)
  1370. {
  1371.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ExpandSelectionAroundLink)
  1372.     (this,ev);
  1373. #ifdef SOMCHKEXCEPT
  1374.       SOMCHKEXCEPT;
  1375. #endif
  1376. }
  1377.  
  1378. /* method: SelectionInLinkSource */
  1379. ODBoolean   SelectionInLinkSource(Environment *ev)
  1380. {
  1381.    #ifdef SOMCHKEXCEPT
  1382.    ODBoolean __somResult = 
  1383.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,SelectionInLinkSource)
  1384.     (this,ev);
  1385.       SOMCHKEXCEPT;
  1386.    return __somResult;
  1387. #else
  1388.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,SelectionInLinkSource)
  1389.     (this,ev);
  1390. #endif
  1391. }
  1392.  
  1393. /* method: SelectionInLinkDestination */
  1394. ODBoolean   SelectionInLinkDestination(Environment *ev)
  1395. {
  1396.    #ifdef SOMCHKEXCEPT
  1397.    ODBoolean __somResult = 
  1398.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,SelectionInLinkDestination)
  1399.     (this,ev);
  1400.       SOMCHKEXCEPT;
  1401.    return __somResult;
  1402. #else
  1403.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,SelectionInLinkDestination)
  1404.     (this,ev);
  1405. #endif
  1406. }
  1407.  
  1408. /* method: PtInDestinationLink */
  1409. ODBoolean   PtInDestinationLink(Environment *ev,
  1410.         Point* thePoint)
  1411. {
  1412.    #ifdef SOMCHKEXCEPT
  1413.    ODBoolean __somResult = 
  1414.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,PtInDestinationLink)
  1415.     (this,ev,thePoint);
  1416.       SOMCHKEXCEPT;
  1417.    return __somResult;
  1418. #else
  1419.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,PtInDestinationLink)
  1420.     (this,ev,thePoint);
  1421. #endif
  1422. }
  1423.  
  1424. /* method: AdjustDstLinks */
  1425. void   AdjustDstLinks(Environment *ev,
  1426.         ODSShort start,
  1427.         ODSShort endOld,
  1428.         ODSShort endNew,
  1429.         ODUpdateID change)
  1430. {
  1431.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AdjustDstLinks)
  1432.     (this,ev,start,endOld,endNew,change);
  1433. #ifdef SOMCHKEXCEPT
  1434.       SOMCHKEXCEPT;
  1435. #endif
  1436. }
  1437.  
  1438. /* method: AdjustSrcLinks */
  1439. void   AdjustSrcLinks(Environment *ev,
  1440.         ODSShort start,
  1441.         ODSShort endOld,
  1442.         ODSShort endNew,
  1443.         ODUpdateID change)
  1444. {
  1445.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AdjustSrcLinks)
  1446.     (this,ev,start,endOld,endNew,change);
  1447. #ifdef SOMCHKEXCEPT
  1448.       SOMCHKEXCEPT;
  1449. #endif
  1450. }
  1451.  
  1452. /* method: CheckDstLinkDeletion */
  1453. void   CheckDstLinkDeletion(Environment *ev,
  1454.         ODSShort start,
  1455.         ODSShort endOld,
  1456.         ODUpdateID change)
  1457. {
  1458.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,CheckDstLinkDeletion)
  1459.     (this,ev,start,endOld,change);
  1460. #ifdef SOMCHKEXCEPT
  1461.       SOMCHKEXCEPT;
  1462. #endif
  1463. }
  1464.  
  1465. /* method: AbandonSourceLinks */
  1466. void   AbandonSourceLinks(Environment *ev,
  1467.         ODSShort start,
  1468.         ODSShort end)
  1469. {
  1470.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AbandonSourceLinks)
  1471.     (this,ev,start,end);
  1472. #ifdef SOMCHKEXCEPT
  1473.       SOMCHKEXCEPT;
  1474. #endif
  1475. }
  1476.  
  1477. /* method: RemoveSrcLink */
  1478. void   RemoveSrcLink(Environment *ev)
  1479. {
  1480.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,RemoveSrcLink)
  1481.     (this,ev);
  1482. #ifdef SOMCHKEXCEPT
  1483.       SOMCHKEXCEPT;
  1484. #endif
  1485. }
  1486.  
  1487. /* method: RemoveDstLink */
  1488. void   RemoveDstLink(Environment *ev)
  1489. {
  1490.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,RemoveDstLink)
  1491.     (this,ev);
  1492. #ifdef SOMCHKEXCEPT
  1493.       SOMCHKEXCEPT;
  1494. #endif
  1495. }
  1496.  
  1497. /* method: RemoveLinkSpec */
  1498. void   RemoveLinkSpec(Environment *ev)
  1499. {
  1500.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,RemoveLinkSpec)
  1501.     (this,ev);
  1502. #ifdef SOMCHKEXCEPT
  1503.       SOMCHKEXCEPT;
  1504. #endif
  1505. }
  1506.  
  1507. /* method: LinkChanged */
  1508. void   LinkChanged(Environment *ev,
  1509.         AppleTestDrag_DragText_SrceOfLink* srcLink,
  1510.         ODUpdateID changeID)
  1511. {
  1512.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,LinkChanged)
  1513.     (this,ev,srcLink,changeID);
  1514. #ifdef SOMCHKEXCEPT
  1515.       SOMCHKEXCEPT;
  1516. #endif
  1517. }
  1518.  
  1519. /* method: IncorporateContentFromLink */
  1520. void   IncorporateContentFromLink(Environment *ev)
  1521. {
  1522.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,IncorporateContentFromLink)
  1523.     (this,ev);
  1524. #ifdef SOMCHKEXCEPT
  1525.       SOMCHKEXCEPT;
  1526. #endif
  1527. }
  1528.  
  1529. /* method: AdjustLinks */
  1530. void   AdjustLinks(Environment *ev,
  1531.         ODSShort start,
  1532.         ODSShort endOld,
  1533.         ODSShort endNew,
  1534.         ODUpdateID changeID)
  1535. {
  1536.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AdjustLinks)
  1537.     (this,ev,start,endOld,endNew,changeID);
  1538. #ifdef SOMCHKEXCEPT
  1539.       SOMCHKEXCEPT;
  1540. #endif
  1541. }
  1542.  
  1543. /* method: AddLinkSpecToSU */
  1544. void   AddLinkSpecToSU(Environment *ev,
  1545.         ODStorageUnit* su)
  1546. {
  1547.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,AddLinkSpecToSU)
  1548.     (this,ev,su);
  1549. #ifdef SOMCHKEXCEPT
  1550.       SOMCHKEXCEPT;
  1551. #endif
  1552. }
  1553.  
  1554. /* method: PasteLinkFromSU */
  1555. void   PasteLinkFromSU(Environment *ev,
  1556.         ODFrame* frame,
  1557.         ODType desiredKind,
  1558.         ODStorageUnit* su)
  1559. {
  1560.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,PasteLinkFromSU)
  1561.     (this,ev,frame,desiredKind,su);
  1562. #ifdef SOMCHKEXCEPT
  1563.       SOMCHKEXCEPT;
  1564. #endif
  1565. }
  1566.  
  1567. /* method: ShowLinkBorder */
  1568. void   ShowLinkBorder(Environment *ev,
  1569.         ODFrame* frame,
  1570.         AppleTestDrag_DragText_LinkBorderStyle borderStyle)
  1571. {
  1572.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ShowLinkBorder)
  1573.     (this,ev,frame,borderStyle);
  1574. #ifdef SOMCHKEXCEPT
  1575.       SOMCHKEXCEPT;
  1576. #endif
  1577. }
  1578.  
  1579. /* method: ShowAboutBox */
  1580. ODBoolean   ShowAboutBox(Environment *ev,
  1581.         ODFrame* frame)
  1582. {
  1583.    #ifdef SOMCHKEXCEPT
  1584.    ODBoolean __somResult = 
  1585.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ShowAboutBox)
  1586.     (this,ev,frame);
  1587.       SOMCHKEXCEPT;
  1588.    return __somResult;
  1589. #else
  1590.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,ShowAboutBox)
  1591.     (this,ev,frame);
  1592. #endif
  1593. }
  1594.  
  1595. /* method: UserCategoryString */
  1596. ODBoolean   UserCategoryString(Environment *ev,
  1597.         ODName* name)
  1598. {
  1599.    #ifdef SOMCHKEXCEPT
  1600.    ODBoolean __somResult = 
  1601.       SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UserCategoryString)
  1602.     (this,ev,name);
  1603.       SOMCHKEXCEPT;
  1604.    return __somResult;
  1605. #else
  1606.    return SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,UserCategoryString)
  1607.     (this,ev,name);
  1608. #endif
  1609. }
  1610.  
  1611. /* method: InstallObjectAccessors */
  1612. void   InstallObjectAccessors(Environment *ev)
  1613. {
  1614.    SOM_ResolveD(this,AppleTestDrag_DragText,AppleTestDrag_DragText,InstallObjectAccessors)
  1615.     (this,ev);
  1616. #ifdef SOMCHKEXCEPT
  1617.       SOMCHKEXCEPT;
  1618. #endif
  1619. }
  1620.  
  1621. };   /* AppleTestDrag_DragText */
  1622.  
  1623.  
  1624.  
  1625. #endif       /* SOM_AppleTestDrag_DragText_xh */
  1626.